﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Globalization;
using Eieboom.General;

namespace Eieboom.Controllers
{
    public class ThemesController : Controller
    {
        /// <summary>
        /// 更换当前页面风格（视图路径）
        /// </summary>
        /// <param name="language"></param>
        /// <returns></returns>
        public ActionResult ChangeTheme(string theme)
        {
            WebUtils.ChangeTheme(theme);
            return this.Redirect(Request.UrlReferrer.ToString());
        }

    }
}
